<?php
/**
 * 公共常量
 */
namespace App\Models\CacheDb\Wechat;

use App\Models\CacheDb\CommonModel;

class AccessToken extends CommonModel {

    protected $table;
    protected $cache_key = 'access_token';
    protected $second = 60*60*2-200;

    public function __construct($app_id){
        $this->table = $this->cache_key.'_'.$app_id;
    }

}
